package com.avcdata.aoscustommade.bean;

import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;
import java.util.List;

/**
 * top机型bean
 *
 * Created by zyh on 2017/5/25.
 */

public class DetailsBean extends BaseResponseBean {

    /**
     * message : null
     * returnValue : [{"rank":1,"model":"KJ-800FB01","category":"净化器","brand":"A.O.史密斯","amount":16048,"volume":2,"avgPrice":8024,"avgPriceRelativeRatio":-24,"marketShare":15.4,"shareRelativeRatio":-14.6,"productTechs":"800,HEPA,活性炭"},{"rank":2,"model":"WA-3501FK","category":"净化器","brand":"惠而浦","amount":3998,"volume":2,"avgPrice":1999,"avgPriceRelativeRatio":280,"marketShare":15.4,"shareRelativeRatio":5.4,"productTechs":"400以下,HEPA,活性炭"},{"rank":3,"model":"KJ-500FB01","category":"净化器","brand":"A.O.史密斯","amount":5300,"volume":1,"avgPrice":5300,"avgPriceRelativeRatio":null,"marketShare":7.7,"shareRelativeRatio":null,"productTechs":"500,HEPA,活性炭"},{"rank":4,"model":"KJ400F-A12","category":"净化器","brand":"A.O.史密斯","amount":3780,"volume":1,"avgPrice":3780,"avgPriceRelativeRatio":null,"marketShare":7.7,"shareRelativeRatio":null,"productTechs":"400,HEPA,活性炭"},{"rank":5,"model":"KJ400F-FAD","category":"净化器","brand":"海信","amount":1600,"volume":1,"avgPrice":1600,"avgPriceRelativeRatio":null,"marketShare":7.7,"shareRelativeRatio":null,"productTechs":"400,HEPA,负离子,活性炭"},{"rank":6,"model":"KJ503-A","category":"净化器","brand":"莱克","amount":2499,"volume":1,"avgPrice":2499,"avgPriceRelativeRatio":null,"marketShare":7.7,"shareRelativeRatio":null,"productTechs":"450,HEPA,活性炭"},{"rank":7,"model":"KJ703-F","category":"净化器","brand":"莱克","amount":3499,"volume":1,"avgPrice":3499,"avgPriceRelativeRatio":null,"marketShare":7.7,"shareRelativeRatio":null,"productTechs":"550,HEPA,负离子,活性炭"},{"rank":8,"model":"WA-2002FK","category":"净化器","brand":"惠而浦","amount":1655.08,"volume":1,"avgPrice":1655,"avgPriceRelativeRatio":null,"marketShare":7.7,"shareRelativeRatio":null,"productTechs":"400以下,HEPA,负离子,活性炭"},{"rank":9,"model":"WA-3001FS","category":"净化器","brand":"惠而浦","amount":2115.08,"volume":1,"avgPrice":2115,"avgPriceRelativeRatio":null,"marketShare":7.7,"shareRelativeRatio":null,"productTechs":"400以下,HEPA,负离子,活性炭"},{"rank":10,"model":"WA-3002FZ","category":"净化器","brand":"惠而浦","amount":2483.08,"volume":1,"avgPrice":2483,"avgPriceRelativeRatio":null,"marketShare":7.7,"shareRelativeRatio":null,"productTechs":"400以下,HEPA,负离子,活性炭"},{"rank":11,"model":"WA-4001FK","category":"净化器","brand":"惠而浦","amount":2023.08,"volume":1,"avgPrice":2023,"avgPriceRelativeRatio":null,"marketShare":7.7,"shareRelativeRatio":null,"productTechs":"406,HEPA,负离子,活性炭"}]
     * times :
     * secretKey : hc
     */

    @SerializedName("message")
    private String message;
    private String times;
    private String secretKey;
    private List<ReturnValueBean> returnValue;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTimes() {
        return times;
    }

    public void setTimes(String times) {
        this.times = times;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public List<ReturnValueBean> getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(List<ReturnValueBean> returnValue) {
        this.returnValue = returnValue;
    }

    public static class ReturnValueBean {
        /**
         * rank : 1
         * model : KJ-800FB01
         * category : 净化器
         * brand : A.O.史密斯
         * amount : 16048
         * volume : 2
         * avgPrice : 8024
         * avgPriceRelativeRatio : -24
         * marketShare : 15.4
         * shareRelativeRatio : -14.6
         * productTechs : 800,HEPA,活性炭
         */

        private int rank;
        private String model;
        private String category;
        private String brand;
        private int amount;
        private int volume;
        private int avgPrice;
        private String avgPriceRelativeRatio;
        private String marketShare;
        private String shareRelativeRatio;
        private String productTechs;

        public int getRank() {
            return rank;
        }

        public void setRank(int rank) {
            this.rank = rank;
        }

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public int getVolume() {
            return volume;
        }

        public void setVolume(int volume) {
            this.volume = volume;
        }

        public int getAvgPrice() {
            return avgPrice;
        }

        public void setAvgPrice(int avgPrice) {
            this.avgPrice = avgPrice;
        }

        public String getAvgPriceRelativeRatio() {
            return avgPriceRelativeRatio;
        }

        public void setAvgPriceRelativeRatio(String avgPriceRelativeRatio) {
            this.avgPriceRelativeRatio = avgPriceRelativeRatio;
        }

        public String getMarketShare() {
            return marketShare;
        }

        public void setMarketShare(String marketShare) {
            this.marketShare = marketShare;
        }

        public String getShareRelativeRatio() {
            return shareRelativeRatio;
        }

        public void setShareRelativeRatio(String shareRelativeRatio) {
            this.shareRelativeRatio = shareRelativeRatio;
        }

        public String getProductTechs() {
            return productTechs;
        }

        public void setProductTechs(String productTechs) {
            this.productTechs = productTechs;
        }
    }
}
